#wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

$size:1200px; //头部样式
$bgcolor:#fff;
article {
    width: 100%;
    height: 35px;
    background-color: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    .article-wrap {
        width: $size;
        display: flex;
        justify-content: space-between;
        .article-left {
            margin-left: 50px;
            display: flex;
            a {
                padding: 0 10px;
                color: #cc0000;
            }
        }
    }
}

.icon-xing {
    font-size: 12px;
}

.icon-kefu {
    font-size: 12px;
}

.logined {
    display: none;
}

.article-right {
    display: flex;
    a {
        padding: 0 15px;
        &:hover {
            color: #cc0000;
        }
    }
}

header {
    width: $size;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: $bgcolor;
    h1 {
        text-indent: -9999px;
        display: none;
    }
    a {
        img {
            width: 174px;
            height: 80px;
        }
    }
    .mid-search {
        width: 740px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        .Tag {
            height: 30px;
            line-height: 30px;
            margin-left: 15px;
            .mall_word {
                margin-right: 18px;
                color: #747474;
                &:hover {
                    color: #cc0000;
                }
            }
        }
    }
    .shopping-cart {
        width: 140px;
        height: 40px;
        padding-left: 15px;
        border: 1px solid #e4e4e4;
        border-radius: 20px;
        margin-bottom: 26px;
        margin-right: 50px;
        position: relative;
        display: flex;
        align-items: center;
        .icon-gouwuchekong {
            font-size: 26px;
        }
        a {
            width: 70px;
            margin-left: 5px;
            .num {
                float: right;
            }
        }
    }
}

.search-wrap {
    margin-top: 6px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .search {
        width: 562px;
        height: 40px;
        border-radius: 20px;
        border: 1px solid #cc0000;
        display: flex;
        align-items: center;
        justify-content: space-between;
        div {
            width: 68px;
            height: 38px;
            padding-left: 19px;
            border-right: 1px solid #ccc;
            display: flex;
            align-items: center;
            color: #747474;
            .icon-xiala1 {
                margin-left: 10px;
                font-size: 12px;
            }
        }
        input {
            border: none;
            width: 380px;
            margin-left: 30px;
            text-align: left;
        }
        a {
            display: inline-block;
            line-height: 40px;
            text-align: center;
            width: 70px;
            height: 40px;
            background-color: #cc0000;
            color: #fff;
            border-radius: 20px;
            border: none;
            .icon-fangdajing {
                font-size: 19px;
            }
        }
    }
    .search-list {
        display: none;
        width: 430px;
        height: 200px;
        position: absolute;
        left: 68px;
        top: 40px;
        background-color: #fff;
        overflow: auto;
        z-index: 99;
        li {
            height: 31px;
            border: 1px solid #E4E4E4;
        }
    }
    img {
        width: 145px;
        height: 40px;
    }
}

nav {
    width: $size;
    height: 36px;
    display: flex;
    position: relative;
    h3 {
        width: 174px;
        background-color: #cc0000;
        color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        font-weight: 500;
        .icon-weibiaoti15 {
            font-size: 12px;
            margin-right: 10px;
        }
    }
    .fl {
        width: 600px;
        display: flex;
        justify-content: space-between;
        font-size: 14px;
        margin-left: 22px;
        li {
            display: flex;
            align-items: center;
        }
    }
}

.menu {
    position: absolute;
    top: 36px;
    left: 0;
    z-index: 2;
    ul {
        width: 174px;
        display: flex;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.4);
        display: none;
        li {
            height: 35px;
            display: flex;
            justify-content: space-between;
            span {
                width: 35px;
                height: 35px;
            }
            a {
                line-height: 35px;
                flex-grow: 1;
                color: #fff;
            }
            strong {
                line-height: 35px;
                margin-right: 5px;
                color: #fff;
            }
        }
        .active {
            background-color: #fff;
            a {
                color: #cc0000;
            }
            strong {
                color: #cc0000;
            }
        }
    }
    .cartlist {
        width: 672px;
        min-height: 450px;
        position: absolute;
        left: 174px;
        top: 0;
        z-index: 2;
        border: 1px solid #d3d3d3;
        background-color: #fff;
        box-shadow: 6px 3px 8px 0 rgb(195, 183, 183);
        display: none;
        .item {
            width: 100%;
            text-align: center;
            height: 100%;
            margin-left: -1px;
            font-size: 50px;
            line-height: 450px;
        }
    }
}